package zhihui.mobile.presenter.main;

import java.util.List;

import zhihui.mobile.bean.message.MessageInfo;
import zhihui.mobile.presenter.IPresenter;
import zhihui.mobile.ui.IView;

/**
 * Created by 张公铭 on 2017/7/3 0003.
 */

public interface IMainContract
{
    interface IMainView extends IView
    {
        void requestPermissions(String... permisstions);

        void refreshMessage(List<MessageInfo> list);

        void onRefreshComplete();

    }

    interface IMainPresenter extends IPresenter
    {
        void initCrahAndLog();

        void refreshMessage();
    }
}
